SftTree/OCX 7.0

SftTreeRowHeader.TextHAlign Property

Softel vdm, Inc.

Defines the horizontal alignment of the text in this row header.

Syntax       

Get

VB.NET

Style = object.TextHAlign  As SftTreeHAlignDefaultConstants

VB

Style = object.TextHAlign  As SftTreeHAlignDefaultConstants

C#.NET

SftTreeHAlignDefaultConstants Style = object.TextHAlign;

VC++

enum SftTreeHAlignDefaultConstants Style = object->TextHAlign;
enum SftTreeHAlignDefaultConstants Style = object->GetTextHAlign();

C

HRESULT object->get_TextHAlign(enum SftTreeHAlignDefaultConstants* Style);

Delphi

Style := object.TextHAlign  : TOleEnum;

Put

VB.NET

object.TextHAlign = Style  As SftTreeHAlignDefaultConstants

VB

object.TextHAlign = Style  As SftTreeHAlignDefaultConstants

C#.NET

SftTreeHAlignDefaultConstants object.TextHAlign = Style;

VC++

enum SftTreeHAlignDefaultConstants object->TextHAlign = Style;
void object->PutTextHAlign(enum SftTreeHAlignDefaultConstants Style);

C

HRESULT object->put_TextHAlign(enum SftTreeHAlignDefaultConstants Style);

Delphi

object.TextHAlign := Style  : TOleEnum;

object

A SftTreeRowHeader object.

Style

Defines the horizontal alignment of the text in this row header.

Name

Value

Description

halignSftTreeDefault

-1

The text is aligned as defined using the default settings for all row headers (see RowHeaders.TextHAlign).

halignSftTreeDefaultLeft

0

The text and graphic component are left aligned.

halignSftTreeDefaultCenter

1

The text and graphic component are centered.

halignSftTreeDefaultRight

2

The text and graphic component are right aligned.

Comments

The TextHAlign property defines the horizontal alignment of the text in this row header.

Row header text and graphics are defined using the RowHeader.Text and RowHeader.Image properties.

The default alignment for all row headers is defined using the RowHeaders.TextHAlign and RowHeaders.TextVAlign properties.

See Also  SftTreeRowHeader Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com